package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.BusinessConfig;

import java.io.Serial;
import java.io.Serializable;



/**
 * 业务参数配置视图对象 business_config
 *
 * @author zlj
 * @date 2024-05-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusinessConfig.class)
public class BusinessConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 参数主键
     */
    private Long businessConfigId;

    /**
     * 参数名称
     */
    @ExcelProperty(value = "参数名称")
    private String configName;

    /**
     * 参数键名
     */
    @ExcelProperty(value = "参数键名")
    private String configKey;

    /**
     * 参数键值
     */
    @ExcelProperty(value = "参数键值")
    private String configValue;

    /**
     * 图片url
     */
    @ExcelProperty(value = "图片url")
    private String url;

    /**
     * 排序号(值越大越靠前)
     */
    @ExcelProperty(value = "排序号(值越大越靠前)")
    private Integer sortNo;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 类型 1:文字 2:图片 3:富文本
     */
    @ExcelProperty(value = "类型 1:文字 2:图片 3:富文本")
    private String type;

    /**
     * 状态 0:正常 1:停用
     */
    private String status;
}
